[E2013][MailApp] mailbox.makeEwsRequestAsync GetItem cannot access public folder item

We developed an Office Mail App for Exchange 2013 which needs to read some custom properties of the currently selected mail item.

We use makeEwsRequestAsync with a GetItem request and that works without problems when the item sits in the current users mailbox.

When the user added a public folder to his Favorites, selects a message in that folder and activates our Mail App the GetItem request returns an error which contains this:

<m:ResponseCode>ErrorAccessDenied</m:ResponseCode>

The error message is always in german, setting the mailbox language in OWA to en-us didn't change that. This is the error message:

Mit der Nebenstellennummer sollte nur auf das Act-As-Benutzerpostfach zugegriffen werden.

Something like: With the extension number you should only access the act-as-user mailbox

Any ideas how to access public folder items?

The Public Folder btw is located on Exchange 2013, the same server as the user mailbox.

--

April 15th, 2015 10:42am

Anything new on this? We're having the same issue when trying to connect to shared mailbox with makeEwsRequestAsync.

<m:MessageText>Office extension have no permissions to access any other mailboxes then the mailbox provided in the user context.</m:MessageText>

<m:ResponseCode>ErrorAccessDenied</m:ResponseCode>

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 2:53am

No simple way yet. See here:

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/30b3cf12-77ca-4d3c-989e-5ef793c90ccd/e2013mailapp-mailboxmakeewsrequestasync-getitem-cannot-access-public-folder-item?forum=appsforoffice

and here:

https://twitter.com/JasonJohMSFT/status/601402985831337984

May 28th, 2015 6:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics